package com.demo;

public class Person {
    private int age;
    private String name;

    private void method1() {
        System.out.println("method1");
    }

    public final void method2() {
        System.out.println("method2");
    }

    public void method3() {
        System.out.println("method3");
    }
}
